package com.sx.zongzhi.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by XZY on 2017/12/7.
 * 重点区域
 */
public class KeyAreaBean implements Serializable{


    /**
     * page : 1
     * records : 2
     * rows : []
     * total : 1
     */

    private int page;
    private int records;
    private int total;
    private PermissionBean permission;
    private List<RowsBean> rows;



    public PermissionBean getPermission() {
        return permission;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getRecords() {
        return records;
    }

    public void setRecords(int records) {
        this.records = records;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class RowsBean {
        /**
         * address : 132321
         * createDate : 2017-12-05 15:18:28
         * createUser : 11111111
         * id : B4134C91CCFC481EBCE20D73D0C7DDBE
         * imgUrl : uploadFile/upload/png/2017/12/4/203128300246.png?r=0.3879736166892578
         * name : 5555555555
         * nativePolice : 321321
         * organization : {}
         * type : {"displayName":"城乡结合部","id":"10EF51EABA354FD9BAE38F19FF16C280"}
         */

        private String address;
        private String createDate;
        private String createUser;
        private String id;
        private String imgUrl;
        private String name;
        private String nativePolice;
        private GlobalBean type;

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public String getCreateUser() {
            return createUser;
        }

        public void setCreateUser(String createUser) {
            this.createUser = createUser;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getImgUrl() {
            return imgUrl;
        }

        public void setImgUrl(String imgUrl) {
            this.imgUrl = imgUrl;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getNativePolice() {
            return nativePolice;
        }

        public void setNativePolice(String nativePolice) {
            this.nativePolice = nativePolice;
        }

        public GlobalBean getType() {
            return type;
        }

        public void setType(GlobalBean type) {
            this.type = type;
        }
    }

    public static class PermissionBean implements Serializable{
        private boolean addImportantArea;
        private boolean deleteImportantArea;
        private boolean updateImportantArea;

        public boolean isAddImportantArea() {
            return addImportantArea;
        }

        public boolean isDeleteImportantArea() {
            return deleteImportantArea;
        }

        public boolean isUpdateImportantArea() {
            return updateImportantArea;
        }
    }
}
